#include "ConditionalExpr.h"
#include "Expression.h"
#include "LogicalORExpr.h"


ConditionalExpr::~ConditionalExpr(void)
{
	delete m_pLogicORExpr;
	if(m_pExpr)
		delete m_pExpr;
	if(m_pConExpr)
		delete m_pConExpr;
}

void ConditionalExpr::codeGen()
{
	COUT
	m_pLogicORExpr->codeGen();
	if(m_pExpr)
		m_pExpr->codeGen();
	if(m_pConExpr)
		m_pConExpr->codeGen();
}